/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package listassimples;
import astros.*;

/**
 *
 * @author cbba1
 */
public class NodoSimple
{
    protected Astro valor;
    protected NodoSimple sgte;
    public NodoSimple()
    {
        valor=null;
        sgte=null;
    }
public NodoSimple(Astro v, NodoSimple nodo)
{
    valor=v;
    sgte= nodo;
}
public NodoSimple (Astro v){
    valor=v;
}
public void SetValor(Astro v)
{
    valor = v;
}
public Astro GetValor()
{
    return  valor;
}
public void SetSgte(NodoSimple nodo)
{
    sgte=nodo;
}
public NodoSimple GetSgte()
{
    return sgte;
}
}

